import {theme,content} from './index'

//使用useContext优雅处理context状态
import { useContext, useState } from 'react'
const Other =()=>{
    let themeContext=useContext(theme)
    let contentContext=useContext(content)
    // console.log(themeContext,contentContext);    
    return(
        <fieldset>
            <legend>Other</legend>
            <h1 style={{color:themeContext.color}}>Other</h1>
        </fieldset>
    )
}

export default Other